<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.zpyr.mvc.vo.Carc_info"%>
<%@page import="com.zpyr.common.StringUtil"%>
<!DOCTYPE html>
<html>
<head>
<%
	Carc_info carc_info =(Carc_info) request.getAttribute("carc_info");
	
	String carc_name = "";
	String carc_desc = "";
	if(carc_info != null) {
		carc_name = StringUtil.nvl( carc_info.getName() );
		carc_desc = StringUtil.nvl( carc_info.getDescription() );
	}
	
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>자동차 정비소 관리자 - 정보보기</title>

<style>
	#functions{
		list-style: none;
	}
	#functions li {
		display: inline;
	}
</style>
<script src="/js/jquery-1.7.min.js"> </script>
<script>
$(document).ready(function(){
	$("#listCarcenter").click(function(){
		location.href = "/carcenter.gcm?action=getList_carc_info";
	});	
});

</script>
</head>
<body>

<div id="header">정비소 정보</div>
<div id="main">
	<div id="cont">
	<ul>
	<li>정비소 이름 - <%=carc_name %></li>
	<li>정비소 설명 - <%=carc_desc %></li>
	</ul>
	
	</div>
	<div id="menus">
		<ul id="functions">
		<li><input type="button" value="목록" id="listCarcenter" /></li>
		<li><input type="button" value="삭제하기" id="delCarcenter" /></li>
		</ul>
	</div>
</div>
<div id="footer"></div>

</body>
</html>